package com.ruoyi.system.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.system.domain.AssociationClapCulvert;
import com.ruoyi.system.domain.vo.coopHan.PageCulvertApprovalVo;
import com.ruoyi.system.domain.vo.coopHan.PageCulvertNoticeVo;
import com.ruoyi.system.domain.vo.coopHan.PageCulvertVo;
import com.ruoyi.system.domain.vo.handleRecord.HandleRecordVo;
import com.ruoyi.system.dto.coopHan.PageCulvertDto;
import com.ruoyi.system.dto.coopHan.PageCulvertNoticeDto;
import com.ruoyi.system.dto.handleRecord.HandleRecordDto;
import io.swagger.annotations.ApiModelProperty;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 协拍涵表 Mapper 接口
 * </p>
 *
 * @author yanfu
 * @since 2024-03-01
 */
public interface AssociationClapCulvertMapper extends BaseMapper<AssociationClapCulvert> {

    Page<PageCulvertVo> pageCulvert(@Param("page") Page<PageCulvertVo> page, @Param("dto") PageCulvertDto dto);

    List<HandleRecordVo> handleRecord(@Param("dto") HandleRecordDto dto,@Param("userId") Long userId);

    Page<PageCulvertApprovalVo> getApprovalPage(@Param("page") Page<PageCulvertApprovalVo> page, @Param("dto") PageCulvertDto dto);

    Page<PageCulvertNoticeVo> pagePublicityCulvert(@Param("dto") PageCulvertNoticeDto dto, @Param("page") Page<PageCulvertNoticeVo> page);

    /**
     * 协拍涵办理申请【受理】列表
     * @param page
     * @param dto
     * @param taskName
     * @return
     */
    Page<PageCulvertApprovalVo> getAcceptancePage(@Param("page") Page<PageCulvertApprovalVo> page, @Param("dto") PageCulvertDto dto, @Param("taskName") String taskName);
}
